package pers.dzk.fivelnarow.player.computer;

import pers.dzk.fivelnarow.piece.PieceType;

import java.awt.*;

class TestPiece {
    public Point index;
    public PieceType code;
    public int[] invalid = new int[4];
    public int invalidIndex = 0;
    public void addInvalid(int direction){
        invalid[invalidIndex++] = direction;
    }
    public void clear(){
        invalidIndex = 0;
        invalid[0] = 0;
        invalid[1] = 0;
        invalid[2] = 0;
        invalid[3] = 0;
    }
}